package car;

public class Vehicle {
    private String vehicleId;//车牌号
    private String brand;//品牌
    private String type;//型号
    private int perRent;//日租金

    //计算租金
    public float calRent(int days) {
        return -1;
    }

    public String getVehicleId() {
        return vehicleId;
    }

    public void setVehicleId(String vehicleId) {
        this.vehicleId = vehicleId;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getPerRent() {
        return perRent;
    }

    public void setPerRent(int perRent) {
        this.perRent = perRent;
    }

    @Override
    public String toString() {
        return "Vehicle{" +
                "vehicleId='" + vehicleId + '\'' +
                ", brand='" + brand + '\'' +
                ", type='" + type + '\'' +
                ", perRent=" + perRent +
                '}';
    }
}
